package com.jumi.microservice.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;

    import com.fasterxml.jackson.annotation.JsonFormat;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 用户信息更改日志表
    * </p>
*
* @author 要挑客户管理团队
* @since 2020-07-14
*/
    @ApiModel(value="用户信息更改日志表", description="用户信息更改日志表")
public class JmAdminChangeUserLog  {

    public JmAdminChangeUserLog(Integer uid, String type, String backup, Long adminId, LocalDateTime updateTime, LocalDateTime createTime, Integer isDel, String adminName) {
        this.uid = uid;
        this.type = type;
        this.backup = backup;
        this.adminId = adminId;
        this.updateTime = updateTime;
        this.createTime = createTime;
        this.isDel = isDel;
        this.adminName = adminName;
    }

    public JmAdminChangeUserLog() {
    }

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "用户id")
    private Integer uid;

            @ApiModelProperty(value = "更改类型")
    private String type;

            @ApiModelProperty(value = "备注")
    private String backup;

            @ApiModelProperty(value = "管理员id")
    private Long adminId;

            @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

            @ApiModelProperty(value = "创建时间")

    private LocalDateTime createTime;

            @ApiModelProperty(value = "是否删除：1=是，0=否")
    private Integer isDel;

    private String adminName;

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getUid() {
        return uid;
        }

            public void setUid(Integer uid) {
        this.uid = uid;
        }

        public String getBackup() {
        return backup;
        }

            public void setBackup(String backup) {
        this.backup = backup;
        }
        public Long getAdminId() {
        return adminId;
        }

            public void setAdminId(Long adminId) {
        this.adminId = adminId;
        }
        public LocalDateTime getUpdateTime() {
        return updateTime;
        }

            public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
        }
        public LocalDateTime getCreateTime() {
        return createTime;
        }

            public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        }
        public Integer getDel() {
        return isDel;
        }

            public void setDel(Integer isDel) {
        this.isDel = isDel;
        }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
    return "JmAdminChangeUserLog{" +
            "id=" + id +
            ", uid=" + uid +
            ", type=" + type +
            ", backup=" + backup +
            ", adminId=" + adminId +
            ", updateTime=" + updateTime +
            ", createTime=" + createTime +
            ", isDel=" + isDel +
    "}";
    }
}
